package com.mowh.gof23.behavioral.patterns.visitor;

/**
 * @author mowh1gd
 * @create 2023/10/17 17:45
 */
public abstract class Visitor {
    public abstract void visit(File file); //visit功能以File和Directory作为参数，注意不是委托，只是引用
    public abstract void visit(Directory directory);
}
